import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const ALERT_CENTER: AppRouteRecordRaw = {
  path: '/alert-center',
  name: 'AlertCenter',
  component: DEFAULT_LAYOUT,
  meta: {
    title: '消息通知',
    requiresAuth: true,
    icon: 'icon-notification',
    order: 98,
  },
  children: [
    {
      path: 'alerts',
      name: 'Alerts',
      component: () => import('@/views/alerts/alerts.vue'),
      meta: {
        title: '消息通知',
        icon: 'icon-notification',
        requiresAuth: true,
        hidden: true,
        activeMenu: 'AlertCenter',
      },
    },
  ],
};

export default ALERT_CENTER;
